

<div  id="modal">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title">{{'admin.user_fields.modal.confirm_delete_btn'|trans}}</h4>
      </div>
      <form method="post" class="form-horizontal" id="field-save-form" action="{{url('admin_v2_user_fields_edit',{id:field.id})}}">
      <div class="modal-body">

            <div class="form-group ">
             <label class="col-md-4 control-label" for=
             "title">{{'admin.user_fields.modal.field_name'|trans}}</label>
              <div class="col-md-6 controls">
              <input type="text"  name="title" id="title"  value="{{field.title}}" class="form-control">
              </div>
            </div>

            <div class="form-group ">
             <label class="col-md-4 control-label" for="seq">{{'admin.user_fields.modal.field_tyoe'|trans}}</label>
              <div class="col-md-6 controls">
              {{field.fieldName}}
              </div>
            </div>

            <div class="form-group ">
             <label class="col-md-4 control-label" for="seq">{{'admin.user_fields.modal.show_field_seq'|trans}}</label>
              <div class="col-md-6 controls">
              <input type="text"  name="seq" id="seq" value="{{field.seq}}" class="form-control">
              </div>
            </div>

            <div class="form-group ">
             <label class="col-md-4 control-label">{{'admin.user_fields.modal.enable'|trans}}</label>
             <div class="col-md-2"><input type="checkbox"  {% if field.enabled==1 %} checked=checked{% endif %} name="enabled" vaule="1" style="height:18px;width:18px;"></div>
            </div>
            <input type="hidden" name="_csrf_token" value="{{ csrf_token('site') }}">
       </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">{{'form.btn.cancel'|trans}}</button>
        <button type="submit" class="btn btn-primary" id="save-btn">{{'form.btn.save'|trans}}</button>
      </div>
      </form>
    </div>
  </div>
</div>
<script type="text/javascript"> app.load('system/save-modal'); </script>
